home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
biz
/
dopus
/
RandomPattern.readme
< prev
next >
Wrap
Text File
|
1999-03-02
|
2KB
|
51 lines
Short: Random Backdrops Picture with DirOpus
Author: gene@stardate.westfalen.de(sebastian eichholz)
Uploader: gene@stardate.westfalen.de(sebastian eichholz)
Type: biz/dopus
Insert this (shell-only) command into your startup-sequence
and enjoy the random backdrop-picture :-)
It selects a random file from a given directory and simply
copies it to the given destination-file (your backdrop-pic).
In fact, you can use this command for the original Workbench
as well (if you do not prefer DirOpus).
Usage:
RandomPattern {source-dir} {target-file}
source-dir: A directory where you have stored all possible
pictures, e.g. "iff:backdrops/"
target-file: THE file you have selected in DirOpus (or WBpattern)
as your backdrop picture, e.g. "Dopus5:backdrop.pic"
My startup-sequence contains this line:
random.exe iff:backgrounds/ dopus5:g_background.jpg
(well, in real it is in the user-startup, you can place it in your
startup-sequence OR the user-startup)
The programm was written with BlitzBasic in a couple of minutes...
Please write any bugs (are there any in this really SHORT program?)
or suggestions to me.
Have Fun!
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
14628 8704 40.4% 07-Feb-99 11:44:16 RandomPattern
1173 612 47.8% 07-Feb-99 11:43:44 RandomPattern.readme
-------- ------- ----- --------- --------
15801 9316 41.0% 07-Feb-99 23:27:28 2 files